#!/bin/sh
#--py-files /home/openkai/social-credits/spark-tutorial/pymongo_spark.py,/path/to/pymongo.egg \

export PROJECT_PATH="/home/scdev/cc/spark-tutorial"
#export SPARK_HOME="/home/scdev/spark-1.5.1"
export SPARK_HOME="/home/scdev/spark-1.5.2"
$SPARK_HOME/bin/spark-submit \
--jars /home/scdev/cc/spark-tutorial/mongo-hadoop-spark-1.5.0-SNAPSHOT.jar,\
/home/scdev/cc/spark-tutorial/mongo-hadoop-core-1.5.0-SNAPSHOT.jar \
--driver-class-path /home/scdev/cc/spark-tutorial/mongo-hadoop-spark-1.5.0-SNAPSHOT.jar \
--executor-memory=1024m \
$PROJECT_PATH/demo6.py
